How To Use Vi (Vim)
PressEsccometocommandmodepressventervisualmodeShift+gselectseverythingfromcurrentpositiontoEOFDELdeleteselected.,FirstcomeoutfrontinputmodebypressingESCkeythenapplyggtogotofirstlineandthentypedGtodeleteeverything.,Invido:1,$dtodeletealllines.The:...。參考影片的文章的如下: